package io.renren.modules.weixin.controller;

import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;

/**
 * @author: Mr-wang
 * @date: 2018/4/19 0019 21:27
 * @Description:
 */
@RestController
@RequestMapping("/test")
public class Test{

    @PostMapping("/upload")
    public MultipartFile upload(@RequestParam("file") MultipartFile file) throws Exception {
      return file;
    }
}